
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>FankersDoc</title>
    <?= \yii\helpers\Html::csrfMetaTags() ?>
    <!--bootstrap样式-->
    <link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!--字体样式-->
    <link href="/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">

    <!--输形插件样式-->
    <link href="/static/plugins/treeview/css/bootstrap-treeview.css" rel="stylesheet">

    <!--页面加载动画-->
    <link href="/static/plugins/noprogress/nprogress.css" rel="stylesheet">

    <!--页面自定义样式-->
    <link href="/static/css/api-doc.css" rel="stylesheet">

    <?= isset($this->blocks['cssHeaderFile']) ? $this->blocks['cssHeaderFile'] : ''?>
    <?= isset($this->blocks['cssHeaderText']) ? $this->blocks['cssHeaderText'] : ''?>
    <style>
        *{
            font-family: 微软雅黑;
        }
        #sidebar .list-group{
            margin-top: 5px;
        }
        .manual-reader .book-title:hover{
            color: #ffffff;
        }
        .thumbnail{
            border-radius: 0px;
        }
        .m-t-20{
            margin-top: 20px;
        }
    </style>

    <?= isset($this->blocks['cssHeaderText']) ? $this->blocks['cssHeaderText'] : ''?>

</head>
<body>
<div class="m-manual manual-mode-view manual-reader">

    <!--网页导航-->
    <header class="navbar navbar-static-top manual-head" role="banner">
        <div class="container-fluid">

            <!--页面左侧-->
            <div class="navbar-header pull-left manual-title">
                <?= isset($this->blocks['isLeft']) ? $this->blocks['isLeft'] : ''?>
                <?=isset($this->blocks['pageTitle']) ? $this->blocks['pageTitle'] : 'FankersDoc'?>
                <span style="font-size: 12px;font-weight: 100;"></span>
            </div>
            <?=isset($this->blocks['isLogin']) ?$this->blocks['isLogin'] : ''?>
        </div>
    </header>

    <!--网页内容主题-->
    <?=$content?>
    <div class="manual-mask"></div>
</div>


<!--弹窗部分-->
<div class="modal fade" id="shareProject" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title" id="myModalLabel">项目分享</h4>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-sm-3 text-center" style="padding-bottom: 15px;">
                        <img style="width: 100px" id="sharePageImg" src="" alt="扫一扫手机阅读" />
                    </div>
                    <div class="col-sm-8">
                        <div class="form-group">
                            <label class="control-label">项目分享地址</label>
                            <input type="text" value="" name="shareProjectUrl" class="form-control" onmouseover="this.select()" id="projectUrl" title="项目地址">
                            <div class="clearfix"></div>
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-sm-3 text-center" style="padding-bottom: 15px;">
                        <img style="width: 100px" id="shareProjectImg" src="" alt="扫一扫手机阅读" />
                    </div>
                    <div class="col-sm-8">
                        <div class="form-group">
                            <label class="control-label">单页分享地址</label>
                            <input type="text" name="sharePageUrl" value="" class="form-control" onmouseover="this.select()" id="projectUrl" title="项目地址">
                            <div class="clearfix"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

<!--相关插件js-->
<script src="/static/js/jquery-3.2.1.js"></script>
<script src="/static/bootstrap/js/bootstrap.min.js"></script>
<script src="/static/js/jquery.form.js" type="text/javascript"></script>
<script src="/static/plugins/treeview/js/bootstrap-treeview.js" type="text/javascript"></script>
<script type="text/javascript" src="/static/plugins/noprogress/nprogress.js"></script>
<!--<script type="text/javascript" src="./static/plugins/highlight/highlight.pack.js"></script>-->


<!--项目核心js文件-->
<script type="text/javascript" src="/static/js/api-doc-plugin.js"></script>
<script type="text/javascript" src="/js/vue.js"></script>
<script type="text/javascript" src="/js/layer/layer.js"></script>

<?= isset($this->blocks['jsFooterFile']) ? $this->blocks['jsFooterFile'] : ''?>


<!--页面初始化数据-->
<!--<script type="text/javascript">-->
<!--$(function () {-->
<!--    $("#searchList").on("click","a",function () {-->
<!--        var id = $(this).attr("data-id");-->
<!--        var url = "\/docs\/ceshisss\//" + id;-->
<!--        $(this).parent("li").siblings().find("a").removeClass("active");-->
<!--        $(this).addClass("active");-->
<!--        loadDocument(url,id,function (body) {-->
<!--            return $(body).highlight(window.keyword);-->
<!--        });-->
<!--    });-->
<!--});-->
<!--</script>-->
<?= isset($this->blocks['jsFooterText']) ? $this->blocks['jsFooterText'] : ''?>
</body>
</html>
